package com.lin.eduservie.mapper;

import com.lin.eduservie.entity.EduCourse;
import com.baomidou.mybatisplus.core.mapper.BaseMapper;
import com.lin.eduservie.entity.frontvo.CourseWebVo;
import com.lin.eduservie.entity.vo.CoursePublishVo;

/**
 * <p>
 * 课程 Mapper 接口
 * </p>
 *
 * @author linshuwu
 * @since 2021-08-01
 */
public interface EduCourseMapper extends BaseMapper<EduCourse> {
    // 根据课程id查询课程基本信息用于最终发布课程信息比对
    public CoursePublishVo getPublishCourseInfo(String courseId);

    //根据课程id，编写sql语句查询课程信息
    CourseWebVo getBaseCourseInfo(String courseId);
}
